package net.learn.system.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import net.learn.framework.common.page.PageResult;
import net.learn.framework.common.service.BaseService;
import net.learn.system.entity.SysPaperEntity;
import net.learn.system.query.SysPaperQuery;
import net.learn.system.vo.SysPaperVO;

import java.util.List;

/**
 * @author 李立志
 * @since 2022-04-01
 */
public interface SysPaperService extends BaseService<SysPaperEntity> {
    String addPaper(SysPaperVO qry);

    Boolean updatePaper(SysPaperVO qry);

    void delete(List<Long> idList);

    List<SysPaperVO> qryPaperList();

    List<SysPaperVO> qryPaperQuestionList(SysPaperQuery qry);

    List<SysPaperVO> qryPaperQuestionTypeList(SysPaperQuery qry);

    List<SysPaperVO> qryMyScoreList(SysPaperQuery qry);

    PageResult<SysPaperVO> qryPaperListPage(SysPaperQuery qry);

    PageResult<SysPaperVO> qryPaperListArray(SysPaperQuery qry);

}
